package com.whmskj.xjlhsc.controller.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;


@Data
public class SummaryVO implements Serializable {

    private String month;
    private String totalOutput;

    private String totalNh;

    private String zhOutput;

    private String dsNh;

    private String zhdsNh;

    private List<MachineAnalysis> machineAnalyses;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class MachineAnalysis {
        private String machineName;

        private String nh = "0";

        private String dsNh = "0";

        private String zhdsNh = "0";

        private double dsNhzb = 0.0;

        public MachineAnalysis(String machineName) {
            this.machineName = machineName;
        }
    }
}
